import React from 'react'

import './style.scss'

class Userinfo extends React.Component{
    constructor(props, context){
        super(props, context)
    }
    render() {
        return (
            <div className='userinfo-box'>
                <div className="props-box line-bottom">
                    <i className="icon iconfont icon-wodedamaijihuo"></i>
                    <span>用户名: {this.props.userName}</span>
                </div>
                <div className="props-box">
                    <i className="icon iconfont icon-icon-test8"></i>
                    <span>所在城市: {this.props.cityName}</span>
                </div>
            </div>
        )
    }
    componentDidMount() {
        
    }
}

export default Userinfo